#include <iostream>
using std::cout;
using std::endl;

class sington{
public:
    static sington & getsington(){
       static sington s;
       return s;
    }
    void print(){
        cout << "print()" << endl;
    }
    ~sington(){
        cout << "~sington()" << endl;
    }
private:
    sington()
    :_num(0)
    {
        cout << "sington()" <<endl;
    }
    int _num;

};

void test(){
    sington::getsington().print();
}

int main()
{
    

    test ();
    return 0;
}

